﻿using Microsoft.Practices.Prism.Regions;
using Microsoft.Windows.Controls.Ribbon;

using Acceron.Univerisy.Modules.Scheduling.ViewModels;

namespace Acceron.Univerisy.Modules.Scheduling.Views
{
    /// <summary>
    /// Interaction logic for DashboardRibbonTab.xaml
    /// </summary>
    public partial class ScheduleRibbonTab : RibbonTab, IRegionMemberLifetime
    {
        public ScheduleRibbonTab(ScheduleViewModel viewModel)
        {
            InitializeComponent();
            this.DataContext = viewModel;
        }

        #region IRegionMemberLifetime Members

        public bool KeepAlive
        {
            get { return false; }
        }

        #endregion
    }
}
